package com.bawei.company

import com.bawei.base.bean.CompanyEntity
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class CompantAdapter:BaseQuickAdapter<CompanyEntity,BaseViewHolder>(R.layout.item_compay) {
    override fun convert(helper: BaseViewHolder, item: CompanyEntity) {
        helper.setText(R.id.company_name,item.name)
        helper.setText(R.id.company_type,"行业类型:"+item.industryType)
        helper.setText(R.id.company_area,"行业覆盖:"+item.address)
        helper.setText(R.id.company_msg,"企业所属地区:"+item.address)
    }
}